# Folder organization 

1. Folder "data" has two additional subfolders with the Delphi survey collected by the authors and the migration data from Frontex and Eurostat.
    - Delphi survey 
        - expanel.rds
    - Migration data 
        - Detections_of_IBC_2019_09_04.xlsx
        - forecast.rds

2. Folder "output" has all the tables and figures produced in the analysis including the annex.
    - figures 
        - fig3_Relative_Likelihood.eps
        - fig4_Changes_Immigration.eps
        - Annex3_Variation_Convergence.eps
        - Annex4.eps
        - Annex5_Confidence.eps
        - Annex6_Convergence.eps
        - Annex7_Composition_Bottom_Prob.eps
        - Annex8_Composition_Top_Prob.eps
        - Annex10_Arima.eps
    - tables 
        - Table1.xlsx

3. Folder "scripts" has all scripts for replicating all analysis, figures and tables.
    - Folder "cleaning_and_management" has the R packages used for the analysis (libraries), the file to download and tidy up the migration data (migration_data_cleaning), and code to produce the split violin plots and formats of the charts.
        - libraries.R
        - migration_data_cleaning.R
        - split_violin_and_labels.R

    - Folder"css_style". CSS code for the html file with the readme and codebook.
        - style.css

    - Folder "figures" has the scripts to produce all figures. 
        - fig3_Relative_Likelihood.R
        - fig4_Changes_Immigration.R
        - Annex3_Variation_Convergence.R
        - Annex4.R
        - Annex5_Confidence.R
        - Annex6_Convergence.R
        - Annex7_Composition_Bottom_Prob.R
        - Annex8_Composition_Top_Prob.R
        - Annex10_Arima.R

    - Folder "tables" has the scripts to produce all tables 
        - table1_samples.R

    - Folder "calculations" has the scripts to produce all calculations in the text 
        - coefficient of variation.R
        - confidence in estimates by wave and type of flow.R

4. File "Readme and Codebook.html"
    - This file.
    
5. File "Readme and Codebook.RMD"
    - Script to produce the codebook.
    
6. File "Migration scenarios.Rproj"
    - R project file. 
    
7. File "readme.txt"
    - Description of files and folders.
